using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Collections;


namespace WindowsClient.Organization

{
    public partial class OrganizationForm : Form
    {

        public OrganizationForm()
        {
            InitializeComponent();
        }

        private void OrganizationForm_Load(object sender, EventArgs e)
        {
            //this.bindingSourceOrganization.DataSource = GetOrganizationsDataTable() ;
            //this.bindingSourceOrganization.DataSource = GetOrganizations("");
            
            DataTable table = GetOrganizationsDataSet().Tables[0];
            table.Locale = System.Globalization.CultureInfo.InvariantCulture;
            this.bindingSourceOrganization.DataSource = table;
            this.dataGridViewOrganization.DataSource = this.bindingSourceOrganization;
        }

        public DataSet GetOrganizationsDataSet()
        {
            return null;
            //Logic.Business.OrganizationBusiness organizationBusiness = new Logic.Business.OrganizationBusiness();
            //return organizationBusiness.GetOrganizationsDataSet();
        }

        public DataTable GetOrganizationsDataTable()
        {
            return null;
            //Logic.Business.OrganizationBusiness organizationBusiness = new Logic.Business.OrganizationBusiness();
            //return organizationBusiness.GetOrganizationsDataTable();
        }

        public static IEnumerable GetOrganizations(string id)
        {
            return null;
            //Logic.Business.OrganizationBusiness organizationBusiness = new Logic.Business.OrganizationBusiness();
            //return organizationBusiness.GetOrganizations();
         }

        

    }
}